﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using log4net;

namespace SB.Logging
{
    class Log4NetLogger : ILogger
    {
        ILog log = null;

        public Log4NetLogger(Type type)
        {
            log = LogManager.GetLogger(type);
        }
        
        public void Debug(object message)
        {
            log.Debug(message);
        }

        public void Error(object message)
        {
            log.Error(message);
        }

        public void Info(object message)
        {
            log.Info(message);
        }
    }
}
